package com.xxxy.ljh.myapplication.model;

public class UserPointsRecord {
    private int recordId;
    private int userId;
    private int totalPoints;
    private int sourceType;
    private int relatedId;
    private String remark;
    private int operateUserId;
    private String createTime;

    // 构造函数
    public UserPointsRecord() {}

    public UserPointsRecord(int userId, int totalPoints, int sourceType, String remark) {
        this.userId = userId;
        this.totalPoints = totalPoints;
        this.sourceType = sourceType;
        this.remark = remark;
    }

    // Getters and Setters
    public int getRecordId() { return recordId; }
    public void setRecordId(int recordId) { this.recordId = recordId; }

    public int getUserId() { return userId; }
    public void setUserId(int userId) { this.userId = userId; }

    public int getTotalPoints() { return totalPoints; }
    public void setTotalPoints(int totalPoints) { this.totalPoints = totalPoints; }

    public int getSourceType() { return sourceType; }
    public void setSourceType(int sourceType) { this.sourceType = sourceType; }

    public int getRelatedId() { return relatedId; }
    public void setRelatedId(int relatedId) { this.relatedId = relatedId; }

    public String getRemark() { return remark; }
    public void setRemark(String remark) { this.remark = remark; }

    public int getOperateUserId() { return operateUserId; }
    public void setOperateUserId(int operateUserId) { this.operateUserId = operateUserId; }

    public String getCreateTime() { return createTime; }
    public void setCreateTime(String createTime) { this.createTime = createTime; }
}
